Exception
lithium\action\DispatchException
(code 404)
Controller `Wysihtml5ImageUpload` not found.
Source
Stack Trace
-
[exception]
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/action/Dispatcher.php: 239
234 $controller = $params['params']['controller']; 235 236 try { 237 return Libraries::instance('controllers', $controller, $options); 238 } catch (ClassNotFoundException $e) { 239 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 240 } 241 }); 242 } 243 244 /**
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/media.php::{closure} @ 60
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/media.php: 63
58 59 // Filter for layout and view mapping in case of prefixes 60 Dispatcher::applyFilter('_callable', function ($self, $params, $chain) { 61 62 if (!isset($params['request']->prefix)) { 63 return $chain->next($self, $params, $chain); 64 } 65 66 $prefix = $params['request']->prefix; 67 $paths = array( 68 'layout' => "{:library}/views/layouts/{$prefix}.{:type}.php",
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/media.php::{closure} @ 45
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/media.php: 56
51 'headers' => array('Content-type' => reset($content)), 52 'body' => file_get_contents($file) 53 )); 54 }; 55 } 56 return $chain->next($self, $params, $chain); 57 }); 58 59 // Filter for layout and view mapping in case of prefixes 60 Dispatcher::applyFilter('_callable', function ($self, $params, $chain) { 61
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/g11n.php::{closure} @ 70
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/g11n.php: 104
99 if (!$params['request']->locale()) { 100 $params['request']->locale(Locale::preferred($params['request'])); 101 } 102 Environment::set(true, array('locale' => $sessionLocale)); 103 104 return $chain->next($self, $params, $chain); 105}; 106ActionDispatcher::applyFilter('_callable', $setLocale); 107ConsoleDispatcher::applyFilter('_callable', $setLocale); 108 109/**
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/action.php::{closure} @ 55
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/action.php: 56
51 return $chain->next($self, $params, $chain); 52 }); 53 54 // filter controller logic - before and after when a controller action is invoked 55 Dispatcher::applyFilter('_callable', function ($self, $params, $chain) { 56 $controller = $chain->next($self, $params, $chain); 57 // now insert the members count here 58 $membersCount = null; 59 $userId = \lithium\storage\Session::read('default.id'); 60 if ($userId) { 61 $membersCount = \app\models\User::membersCount($userId);
-
lithium\util\collection\Filters::run()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/core/StaticObject.php: 126
121 if (!isset(static::$_methodFilters[$class][$method])) { 122 static::$_methodFilters += array($class => array()); 123 static::$_methodFilters[$class][$method] = array(); 124 } 125 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 126 return Filters::run($class, $params, compact('data', 'class', 'method')); 127 } 128 129 /** 130 * Gets and caches an array of the parent methods of a class. 131 *
-
lithium\action\Dispatcher::_callable()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/action/Dispatcher.php: 241
236 try { 237 return Libraries::instance('controllers', $controller, $options); 238 } catch (ClassNotFoundException $e) { 239 throw new DispatchException("Controller `{$controller}` not found.", null, $e); 240 } 241 }); 242 } 243 244 /** 245 * Invokes the callable object returned by `_callable()`, and returns the results, usually a 246 * `Response` object instance.
-
lithium\core\StaticObject::invokeMethod()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/core/StaticObject.php: 75
70 case 1: 71 return static::$method($params[0]); 72 case 2: 73 return static::$method($params[0], $params[1]); 74 case 3: 75 return static::$method($params[0], $params[1], $params[2]); 76 case 4: 77 return static::$method($params[0], $params[1], $params[2], $params[3]); 78 case 5: 79 return static::$method($params[0], $params[1], $params[2], $params[3], $params[4]); 80 default:
-
lithium\action\Dispatcher::run()::{closure} @ 141
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/action/Dispatcher.php: 153
148 $params = $self::applyRules($result->params); 149 150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /**
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/cache.php::{closure} @ 41
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/cache.php: 43
38 /** 39 * Caches paths for auto-loaded and service-located classes when in production. 40 */ 41 Dispatcher::applyFilter('run', function($self, $params, $chain) { 42 if (!Environment::is('production')) { 43 return $chain->next($self, $params, $chain); 44 } 45 $key = md5(LITHIUM_APP_PATH) . '.core.libraries'; 46 47 if ($cache = Cache::read('default', $key)) { 48 $cache = (array) $cache + Libraries::cache();
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/action.php::{closure} @ 49
/var/www/virtual_hosts/myappybusiness.com/html/login/app/config/bootstrap/action.php: 51
46 continue; 47 } 48 $file = "{$config['path']}/config/routes.php"; 49 file_exists($file) ? call_user_func(function() use ($file) { include $file; }) : null; 50 } 51 return $chain->next($self, $params, $chain); 52 }); 53 54 // filter controller logic - before and after when a controller action is invoked 55 Dispatcher::applyFilter('_callable', function ($self, $params, $chain) { 56 $controller = $chain->next($self, $params, $chain);
-
lithium\util\collection\Filters::next()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 202
197 public function next($self, $params, $chain) { 198 if (empty($self) || empty($chain)) { 199 return parent::next(); 200 } 201 $next = parent::next(); 202 return $next($self, $params, $chain); 203 } 204 205 /** 206 * Gets the method name associated with this filter chain. This is the method being filtered. 207 *
-
lithium\core\ErrorHandler::apply()::{closure} @ 264
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/core/ErrorHandler.php: 266
261 $wrap = static::$_exceptionHandler; 262 $_self = get_called_class(); 263 264 $filter = function($self, $params, $chain) use ($_self, $conditions, $handler, $wrap) { 265 try { 266 return $chain->next($self, $params, $chain); 267 } catch (Exception $e) { 268 if (!$_self::matches($e, $conditions)) { 269 throw $e; 270 } 271 return $handler($wrap($e, true), $params);
-
lithium\util\collection\Filters::run()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/util/collection/Filters.php: 183
178 } 179 } 180 181 $chain = new Filters($options); 182 $next = $chain->rewind(); 183 return $next($class, $params, $chain); 184 } 185 186 /** 187 * Provides short-hand convenience syntax for filter chaining. 188 *
-
lithium\core\StaticObject::_filter()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/core/StaticObject.php: 126
121 if (!isset(static::$_methodFilters[$class][$method])) { 122 static::$_methodFilters += array($class => array()); 123 static::$_methodFilters[$class][$method] = array(); 124 } 125 $data = array_merge(static::$_methodFilters[$class][$method], $filters, array($callback)); 126 return Filters::run($class, $params, compact('data', 'class', 'method')); 127 } 128 129 /** 130 * Gets and caches an array of the parent methods of a class. 131 *
-
lithium\action\Dispatcher::run()
/var/www/virtual_hosts/myappybusiness.com/html/login/libraries/lithium/action/Dispatcher.php: 155
150 if (!$params) { 151 throw new DispatchException('Could not route request.'); 152 } 153 $callable = $self::invokeMethod('_callable', array($result, $params, $options)); 154 return $self::invokeMethod('_call', array($callable, $result, $params)); 155 }); 156 } 157 158 /** 159 * Attempts to apply a set of formatting rules from `$_rules` to a `$params` array, where each 160 * formatting rule is applied if the key of the rule in `$_rules` is present and not empty in
-
[main]
/var/www/virtual_hosts/myappybusiness.com/html/login/app/webroot/index.php: 55
50 * @see lithium\action\Response 51 * @see lithium\action\Dispatcher 52 * @see lithium\net\http\Router 53 * @see lithium\action\Controller 54 */ 55 echo lithium\action\Dispatcher::run(new lithium\action\Request()); 56 57